gpsbabel-debug: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) @LIBS@ @EFENCE_LIB@ @EXPAT_LIB@ @USB_LIBS@ $(OUTPUT_SWITCH)$@
-Makefile: Makefile.in config.status
+Makefile: Makefile.in config.status xmldoc/makedoc.in
CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
gbversion.h: configure config.status
{
&transform_vecs,
"transform",
- "Transformate waypoints into a route, tracks into routes, ..."
+ "Transform waypoints into a route, tracks into routes, ..."
},
#endif
{
--- /dev/null
+<para>
+This option, when used in connction with the wpt, rte, or trk options, tells
+GPSBabel to delete the source data after conversion. This is most useful if
+you are trying to avoid duplicated data in the output.
+</para>
+<example id="transform_del">
+<title>Convert a GPX track to GPX waypoints, tossing the original track</title>
+<para>
+<screen format="linespecific">gpsbabel -i gpx -f blah.gpx -x transform,wpt,del \
+-o gpx -F converted.gpx</screen>
+</para>
+</example>
--- /dev/null
+<para>
+This option selects the destination type of this filter to be routes. Choose this when you want to convert tracks into waypoints routes. A single route will be created in the sequence they appear in the input.
+</para>
+<example id="transform_to_rte">
+<title>Converting a pile of waypoints to a GPX route</title>
+<para>
+Say you you have a data file that came from CSV file that you want to convert
+to a GPX route that can be loaded into Mapsource. Use the following command:
+<screen format="linespecific">gpsbabel -i csv -f blah.txt -x transform,rte \
+-o gdb -F blah.gdb</screen>
+</para>
+</example>
--- /dev/null
+<para>
+This option selects the destination type of this filter to be tracks.
+Choose this when you want to create tracks from a list of waypoints or routes.
+A single track will be created in the sequence they appear in the input.
+</para>
+<example id="transform_to_trk">
+<title>Converting a pile of waypoints to a GPX track</title>
+<para>
+Say you you have a data file that came from CSV file that you want to convert
+to a GPX track that can be loaded into Mapsource. Use the following command:
+<screen format="linespecific">gpsbabel -i csv -f blah.txt -x transform,trk \
+-o gdb -F blah.gdb</screen>
+</para>
+</example>
--- /dev/null
+<para>
+This option selects the destination type of this filter to be waypoints.
+Choose this when you want to convert tracks or routes into waypoints.
+</para>
+<example id="transform_to_wpt">
+<title>Converting a track to a sequence of waypoints</title>
+<para>
+Say you you have a KML file that contains a track but you want to convert it to a CSV file that can contain only waypoints, perhaps to import into a spreadsheet. Use the following command:
+<screen format="linespecific">gpsbabel -i kml -f blah.kml -x transform,wpt \
+-o csv -F blah.txt</screen>
+</para>
+</example>
my $res = "";
if ( ($read eq 'r') || ($write eq 'w')) {
- $res .= " <listitem>\n <para>\n ";
+ $res .= " <listitem>\n <para role=\"fmtcapsitem\">\n ";
if ( ($read eq 'r') && ($write eq 'w')) {
$res .= "read and write $type";
}
sub expandoptions {
my $opts = shift;
- my $res = " <para>\n This format can...\n <itemizedlist>\n";
+ my $res = " <para role=\"fmtcapshdr\">\n This format can...\n <itemizedlist>\n";
$res .= expandrw( substr($opts,0,1), substr($opts,1,1), 'waypoints' );
$res .= expandrw( substr($opts,2,1), substr($opts,3,1), 'tracks' );
$res .= expandrw( substr($opts,4,1), substr($opts,5,1), 'routes' );
- $res .= " </itemizedlist>\n </para>\n";
+ $res .= " </itemizedlist></para>\n";
$res;
}